package com.fdq.bigevent.service;

import com.fdq.bigevent.pojo.Category;
import com.fdq.bigevent.pojo.Result;

public interface CategoryService {
    Result addCategory(Category category);

    Result<Category[]> getAllCategory();

    Result<Category> getCategoryById(int id);

    Result updateCategory(Category category);

    Result deleteCategory(int id);
}
